package com.czhi.lian;

import com.lmax.disruptor.EventHandler;

public class TradeHandle1 implements EventHandler<Trade> {

    @Override
    public void onEvent(Trade event, long sequence, boolean endOfBatch) throws Exception {
        event.setName("Handler1");
        System.out.println(event);
        Thread.sleep(2000);
    }
}
